Add test for non-scalar key