updated line_search_optimize_test()

added default parameters for input arguments