Simple integration test that mimics an existing retrieve test, not extremely comprehensive.