adds view tests