Add some basic testing for the oauth plugin