tests error