viewport tests