sample_view test use