Improve sequence input test