The suffix is now removed from selfLink urls

The suffix is now removed from selfLink urls before concatenating the
sub resources.
Tests for issue #493