Currently the selftests are written as a normal application and it is not possible to execute a single test. I would propose to switch to a test framework like pytest. Also the Linux kernel is using pytest to test the kconfig library.  So this could be a way to incorporate the official tests.