5 seconds will make the tests unnecessarily slow. You could just tweak the ping interval in the constructor and set something much lower here.