makes test work with both jquery and everything else