Split tests into several modules (for clarity)
Fix a bug: avoid encoding FOCMMENT twice
Add a simple test runner script.