regCred construtor and test, which succeeds