remove tokenAsString method
add papi client unit test