Added more methods to cert
Added get_extensions method.
Let tests depend explicitly on their testing library.
Adding a test to the TESTS variable will both build and run it.

Have it so adding a simple test is, uh, simple.