Add comments to README and fix compilation error in test class