diff --git a/tests/test_scripts/test_fsl_convert_x5.py b/tests/test_scripts/test_fsl_convert_x5.py
index e65fd9e46ad26f3ba7840224056e187e09381242..b27cffa872b3919f0da939d175ff306b81f3cd04 100644
--- a/tests/test_scripts/test_fsl_convert_x5.py
+++ b/tests/test_scripts/test_fsl_convert_x5.py
@@ -198,7 +198,7 @@ def test_convert_fnirt_sameformat():
         fsl_convert_x5.main(base + [dffile, 'copy.nii.gz'])
 
         # x5 -> x5
-        fsl_convert_x5.main(base + [dffile, 'copy.x5'])
+        fsl_convert_x5.main(base + ['src2ref.x5', 'copy.x5'])
 
         with open(dffile,        'rb') as f: origdef = hashlib.md5(f.read()).digest()
         with open('copy.nii.gz', 'rb') as f: copydef = hashlib.md5(f.read()).digest()