consolidated tests/data, used tempfile/pkg_resource