Register parser and serializer before running test_api tests
Fix doctests in the parser and serializer modules
Make test_testsuite.py work with Python 3