fixed test case to use correct snippet argument