added oauth tests, removed ifmain from test modules