merge tests for vector & matrix into array.cpp