Testing credential store.