Added test for reusing a path with a different Identifier

This test demonstrates an issue found in Jackalope Doctrine DBAL: https://github.com/jackalope/jackalope-doctrine-dbal/pull/158