Fix and expand testsuite.

### Changelog
* Fix typos introduced in #37.
* Automate entire testsuite via `unittest`.
* Add base conversion tests and `privkey_to_pubkey` conversion tests.

The testsuite is currently __failing__ due to `hex_to_point` being absent.