Unit test resource classes instead of hitting the API