[BUG #8566] fix tests for bom.rest.Resource