Feature/improve coverage

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