Refactor measure view table to use partial and add rudimentary view specs.
Fixes #72