Make test work with and without indexed backends