unit test: model: Add (failing) test for lookup in empty models
model: Correct lookup of empty models (fixes last test)