added some more unit tests for oauth_test