Add example tests that are split across multiple files
Report better error when the result file is not created
Move all classes into separate files