Print errors
Update tests