fixed tests using absolute urls
Merge pull request #11 from andrewtch/test-fix

fixed tests using absolute urls