fix gorm.mock;prepare to test special-handler