Added an another node test for X509 Certificate and a test

Since my LinqPad was not working with my file, i have added another place to look for X509 certificate in the publishsettings xml file, in order to keep the current behavior and add mine.
I have created a unit test too.