generic integration test case