State integration test