updated integration test to include assert