viewport testing.