added tests for tile class init method