test direct array creation and passing in blocks to array