added a unittest for identifier detection