Simplify tests for h helper
Rewrite tests for helpers to use capture_iex and capture_io sparingly