Added Tests for Token functionality