Issue #2121855 by dawehner, tim.plunkett, damiankloip: Move the views data tests to a unit test.