tests including array access