fixed test snippet mistake