Have added doctests to eq, repr and solve