Use 1.9 hash style in docs/comments [ci skip]
Add missing assert calls