Huh?
The demo scene is a bunch of kids having fun and learning algorithms primarily. To tell them that they need to write unit tests is ridiculous. They will have time to learn about large scale architecture and unit tests in time - by why not try to have fun for a bit?
Shadertoy isn’t meant to be reusable/production code. It is meant to be a fun computer graphics algorithm place. A place to experiment and learn.
We can take the fun out of coding later - that is what paying jobs are for. Why not have some spaces for fun?