Sets up tests