Corrected excpetion thrown in test.
Merge branch 'master' of github.com:frodosghost/Restful