Added tests for PKCS8 keys. Closes #3.