box compression unittest fixed