[test] Add intersection test for 1-3d boxes