test errorhandlers registered on app