renamed test script to trap sweep