Unit testing support for GORM