Adding unit tests for credentials.extract
Merge pull request #311 from hbeeken/test-credentials-extract

Adding unit tests for credentials.extract