Correct errors with move to kernel time functions.
Add test case.

4 files changed