Add and test viewport