Created state manager and a test state