Add test cases for multiple elements