Crypto key object constructor coverage and message fix
PR is targeted to cover keys.js L45 and keys.js L47. When I covered L47 I found and fixed a bug with the exception message.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines