move the code that is run behind every test to a hook function