more tests and fixes for IndexedSeq