Found a better way to load models. Applying to views and tests..
Finally fixed importing of models, views and tests