Fix "brew test" not returning failure status.