Fix indentation.
Add tests for subscriptions.