Added tests and fixes for 'StandardSequence'