Add tests for all operations