fix view test, remove unused param