file-spec: further improve tests.