Converting and testing the DB