Fix signCert unittest

 - Todo: Clean up CA
 - Test failure scenario's