Fixed a bug where a fileReader object would keep read tests across test runs
Fixed a bug where new tests where not written to file

Also small refactoring