Updated role and translation. Implemented tests for entities.