fixed some other misc things, added oauth test boilerplate