3d routines testing