Add split_at/2, better tests