bump gorm version, fix tests

the entity api had some breaking changes, needed to fix tests