ktest - first try for issue #209