Refactor tests to use generalised CanonicalNumberSystem, delete UriSegmentNumberSystem.