add OAuth unit tests

we need unit tests demonstrating how to unit test the OAuth tests.