change test class to support relationships and camelcase entity name