Added missing enum tests for queries of views.