A comparison of alternative tests of contagion with applications