test for #9

added a test that the full API path should be kept by the Resource to prevent future regressions.