array view 4D tests passed + some bug fixes