Adding loadKeyTest