added global error handler sample, start testing