Add test case for 3 elements