Add test for SubArray logical indexing