[tests] TestSource: Fix small warning
Source: string var -> const var &