input tests fixes