better error handling for no access token
more wholesome tests