unit tests and game framework