adding toSeq test cases