fix hanging test
Make GORM for REST work with application/xml
Make GORM for REST fire GORM events