test for duplicate path bug