refactored and added tests to OAuth handlers
working tests for OAuthHandler and QueryParser