fix unit tests for upload Tiles