Fixed Unit test since GORM does not support string queries in unit
testing