Fix: Use file path passed into test func