Fix test and error so that multiple error works appropriately.