simplify summary view test by directly calling function