Add substring test to kerodon