Fix unit test
Use tempfile for xyz file