Fix test related to change for #bug64007 and also fix in newInstanceArgs