Your cube is black because your volume scatter node is plugged into the surface input of the material output node.
From the manual pagemanual page on the shader,
The Volume Shader output must be plugged into the Volume Input of the Material Output node the Material or World Output node.