changed assert to eq_ in some tests