test: add printout of error