a test for base class operator=