Test autorun cleanup and jQuery removal