Added test for cuboid