Tests end early upon encountering err.