Adding some tests. Added some comments to warcrecords.py