getTile refractored in the tests
added a defineGetProperty function for increased readability