remove java6ism
logging on test failures