Ensure 15-spec Runs Reliably By Using Temp Directory

Without this change, the files get created at /spec/..., requiring privilege escalation and always failing unless you manually create the directory.

With this change, the test runs reliably using a temp directory.