Added tests for models.

Also added pytest-django in requirements and fixed a naming issue in
conftest.