test for validateOperations
fix test. add test
more test