KTEST: Bugfix of the previous commit f829646618dc488d7fb4f93cadf366c735fb7f63