Adds a unit test for getRestangularUrl()