Updated test for jquery replacement