Added tests for cdxreader.