Fix tests, broken since view refactoring
Merge pull request #133 from marmelab/fix_test

[RFR] Fix tests, broken since view refactoring