basic testing for nested array