add identity assignment test case