Add tests for operation