Add tests to ensure that display plugin is preferred over view mode