Added tests for the game loop controller