Fixes #18. Issue with url encoding. All tests passing again.