The instance variable is an implementation detail and should not IMO be visible to the test.
You can't make it an accessor either.

What you might want to test is wether is saves the file in the correct directory (ie test the side effect, not the implementation of your object).