Bug fix, test for Sequence added.