added unit tests for TokenResource on Tenant API