separated fixtures from creation of table and fixed sqlite
made tests work with postgresql also
added conversion script