refine the mob core code test.