Change unittest block to version(unittest) block
Merge pull request #1563 from tom-tan/fix-unittest-array-blockAttribute-nDimensions

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