tests out the sequence class