Corrected all failing tests

* Changed logic on manageTurn that checked game.moveLog
* Cleaned up test definitions with JSHint
* Refactored some old tests for cleaner code as well