Fix a unittest for std.array.array

This pull request moves an example in the comment to a documented unittest.