Clean up source files in 'tests/' too.
Implemented a uniform interface for loading from strings and text files.