Update exception in Test methods