Fixed test implementation from change of ViewClient interface.