Testing for self-excitation in jumps