Move test to kernel-impl