get tests somewhat working
make sure we clean up temp files
relative file names in generators + better debug output
Merge pull request #15 from grosser/tests

get tests running