Cleanup view test definitions to prevent repetition.
Merge pull request #448 from STRML/cleanViewTests

Cleanup view test definitions to prevent repetition.