Added unit tests for operators.