Add more test cases for identifier