Test code to get sequence correct.