Clean up the unit tests. - Make Python tests cwd-agnostic. - Use boost::test. - Add a benchmark. - Use a library to clean up test/Makefile.am.