Adding compartment tests

Set the config.basicCredential here too