Unit tests for operations