Adds several tests for views service
Merge pull request #531 from ewinslow/views-tests

Tests various aspects of the views service