VM: tests that rely on the integer values of the vm_error_type needs to be updated