Refactor spec
Make dupes_in spec not dependent on absolute paths