Add unit test on operations