Enhance tests fixing several bugs

Add test cases for Tile, PlayerScene, and MainScene.
Fix production code which compares X with Option[X] to pass all tests.