Add index test case for user