refactored tests to make all the boring tests in the IntegrationTest class