gorm objects can override the populate method

added some more tests as well