unit testing: array (partial)