test defined operator