Adding test, fixed cert auth in JGroups