inprove runtime running tests
wip runtime shutdown