This commit rewrites the test with parameterized tests and the newly added KRunner test utilities.
mentioned in commit 0129de13