separate tests of views to arrayviews.cpp