unit test buffer sequence class