Feature/improve coverage

this branch improves the coverage of views.py a bit. The really cool part is to see the coverage report on coveralls.io.