Fix doConst test