added some test coverage for HALModelSerializer