I don't think Sage has the Jacobi symbol (just the Legendre), but Jacobi and Solovay-Strassen are less than 20 lines.
Anyway, the goal was to provide very simple and readable implementations. Sage is far more powerful.
Also, I think Sage uses square free factorisation algorithms that run much faster than Berlekamp.
Anyway, we had much fun coding that and I really didn't expect to receive so many uovotes!