Fixed broken test assuming temporary file were created in /tmp/