another unit test added for statemanager