Fixed test compile error caused by rebase.