Added simple integration test.