Added printing of error message when tests fail.