revert to leaf certificate checking as that was default before. add cert chain to resources for default tests. added default tests in case of certificate chains being used.