add stateMock