Add tests and fixes for Sequences/Selectors