Extract rulefs test helpers