Use getResource to access CompressTest data for unit tests.