printing domain errors in some test cases