Added support for comparision of simulated to returned errors