test: remove testOnlyAcceptsDirectories()