Fixed CheckManager Functions  and GameEngine Logic, Added unit tests to CheckManager class