fix view test