update requestjs syntax to work with newer versions
fix cleanup for partial test runs