Add test for getToken
Add getToken test for negative numbers