TST: test for add public key. closes #14