Added more tests. Added equality comparison for polynomials.