fixing a test in resource.spec.js
take 4 dedup saucelabs