Added some more unit tests for the data mapper
Also added SQL to create real databases to test against