Tests were not building due to recent changes in the Damus source code that replaced privkey with keypair. This patch extends those changes to the test cases, allowing the tests to build and pass. Signed-off-by: Jon Marrs <jdmarrs@gmail.com> Signed-off-by: William Casarin <jb55@jb55.com>