Change property "hibernate.format_sql" to "false".
Change property "hibernate.format_sql" to "false".
Re-factor assertEquals for entity's optional fields validation.