added unit tests for the Token class