remove test.config and fix some bugs in beeKeyManagerApi