Wrote simple integration test