unit tests for tmhOAuth