added tests for request token