Added test for latest code change

Unit test now covers the case where a certificate has no key usage extension defined.