Added identity model unit tests.