testGetSequenceMax dataprovider && assertEquals