Add test macro printing result of a failed operation