Add test for elemOpCheck.