Created tests for oauther