Improved test of Cryptography class to cover #buildMasterKey() method