Wrong tests produced wrong code.