add more tests and one change to views.py