working on integration tests