Fixed test url, refactored a bit, and did change the endpoint for published versions...see PublichController and PublichControllerIT