Updated gitignore.
Fixed model tests.
Rewrite these with new views.