updated tests for request token