FLUID-3674: Restored test case for declarative binding, and harmonised utilities for path segment composition