changed test_path

$output was a pointer