integration test now involves mongodb access