Issamefile

Since this test & the previous one differ in only one line please refactor them using a helper method with a 'boolean first' argument and an if/else for the provider.isSameFile call (swapping args depending on the argument).