test in only one input, submit on enter