Add test for _safe_split with pre-computed kernel.