Various changes in test to handle not loaded models when using find.