fix broken measure quantum circuit test