testing testStateInGame improved