[Olena-patches] milena r1147: Add tests for duplicate border and debug print with border for 3d.