Added test for viewpoints.