Improved the cred test
Found another bug with a test!