added tests to test invalid values for tile class init method