[BUG] GongMing: Fix issues of NullPointerException in unit test