Minimized test case for strange leaf insert