created the entity type and wrote units tests for it