Add test for getToken
Add getToken test for negative numbers
Add getVersion method