apply the same long-timeout logic to kernel tests

as previous commit for test_console