kwset: Add tests. * lib/kwset.c (kwsexec): Correct documentation. * tests/test-kwset.c: New file. * modules/kwset-tests: New file.