core: Fix models test.