add test for substring and expanded subchain name