Added basic testing for models and login template.