100% tests for entity and controllers