Mark unittests for blockAttribute and nDimensions as @safe, pure, nothrow

It is obviously safe, pure, and nothrow because these unittests check for the template constant.


--
I will move examples in the comments in std.array into documented unittests from top to bottom.