Update models.py

remove test code from tutorials