Add test of credentials item clear method