Get CTest working and add pnEncryption tests.

This will allow you to run all the tests with `make test` or `ctest`.
Merge pull request #1 from dpogue/tests

Get CTest working and add pnEncryption tests.