More views tests, refactor of some of the views code
Improvements to delete clipping view
Merge pull request #13 from stemchan/api-view-tests

More views tests, refactor of some of the views code