fix snippet src string, add running test