Test because an error is ocurred