Completed test: testEncodeRelativeRadii added new util methods and classes