Added unit tests for operations