Checking number of arguments in generate_test.sh