oauth implementation tests