Add GORM (db) tests