edit functional_tests for check input