Adds sinon for testing. Adds base view and experiment view tests for non-mocked tests.
Makes View code more robust to missing models.