Add tests for operator overloading.