refactors all models and makes sure they are all tested