Bug fixes and Tests

-Fixed errors regarding game state management.
-Added test files for main menus