Added new method for find cert by name, improved unit tests