add scrambled input tests