Mode : expose a getter for the `path`

Add coverage in the mode tests for expected path when using the `new
Mode.forFile` ctor