add unit test for extensions using sequence