Added eunit tests for parse_name_value.