Some tests for credentials.