refs #883 used mocking for views
refs #882 added super fancy mock tests