adds view test
fixes local server