added printing of failed tests