fixed test: wait until model is registered and autoindexed