fix nullpoint TestConfig getById()