Test the ping attribute, plus some minor fixes