Implemented unit tests on creation of Tiles

Part of the major bugs came from wrongly initialized Tiles. First unit
tests are written, using test-o-matic (see
http://www.mr-edd.co.uk/code/test-o-matic).
Major bug is not yet completely fixed, but I don't know if the remainder
of the bug is in the model, the view or the Tiles...