refactor tests to only instantiate the test data once