Revert "Revert CUBE_COMPATIBLE flag check from "Fix required sample count tests""