Added the test for getToken to detect equal to.
Updated getToken to detect equal to.