cover helper with unittests