Introduced jersey tests

What a shame I was not using TDD!