cleaned up some models; added parent checks for datatypes in oauth_test