[master] add tests for helpers, hooks