Tricky to stub Kernel methods, it turns out...