Add credentials helper test