Some test compilation failure fixes

as well as corrections to make them pass, specifically around some
internal use of KernelTransaction and startup sequence