Update fact_cave test helpers to support different types

Now that the fact cave supports different fact types, the test stubs need to support this as well.