Made tests work

Generates files are now written in a sub-directory to avoid polluting the tests directory.
Also a html file is also generates to allow you to see at a glance if the tests actually ran.