test helpers for directiv modules