Corrected bash to pass equality assertions