Print out errors while testing