Add test for asSequence