added acceptance tests for oauth
updated tests and test data
added unit tests