input tests