updated integration test to better reflect expected behavior