Jasmine view tests for measure and dashboard view