test for some operations