cleans out the previous database before inserting the tests, also marginally improved the layout