prefer null !== to is_null
inject config to wrapper
the view helper is now handled by a factory
add, improve and fix more tests