moved enr_identity to operators, added functions to __all__
added unit tests for enr identity and thermal_dm