The test cases exercised by invalid_system_views.js may be passing for the wrong reason. They are missing the following elements, each of which will make the view definition invalid, regardless of conditions we want to test.
- The namespace represented by the '_id' field should be the full namespace, with view name prefixed by the database name and '.' character.
- A 'viewOn' field must be provided specifying the collection or view this view is being built on.