KeyPair updated. New put method added. Test created for this new put method