Harmonize licenses.
Fix whitespace.
Adapt test to new Async API.