fix for api tests - problem was apparent when entity_ name was in camel case e.g Case