updated unit tests for identity ns