@wuhengzhi used the "self._mode" in the testCompressor, which is used to track modes.