Added 2D and 3D tests for MemoryBounding