Respond to code review of unit test for tempfile

Forgot to convert an assertion from ok(a == b) to eq(a, b).