Ensure test refers to file by full path name re #8981

This is done by getting the property specifying the file like in other similar unit tests.

Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
Merge remote-tracking branch 'origin/feature/8981_file_clean'