Use documented unittest for std.array.join

I removed an example in the comment and make one of the unittests a documented unittest.
In addition to that, I marked the documented unittest as safe, pure and nothrow.