cleanup test snippet