Split off sequence tests, convert to JS