Add more documentation.

Fix the unit test.
Comment out some experimental code in annolib.py