Fix incorrect skipUnless statements in file tests

Fixes #264.