[#37] Fixed keygen test failure on make check