Improve sequence tests