Include a test of StringType, use better types for credential item declarations