Add test method for oauth calls