Code format refactoring of models and tests
Cosmetic: replace tabs to spaces