Created tests for the Tile class. Fix bug in Tile class. closes #26