add viewport test