Check for errors in test in a way that makes more sense