Fixed compile warnings by using a (somewhat) better certificate in tests