Erro handler specs for 100% coverage