Test adding a new credential