Added new state class test

tests