add some view test functions