Implement npView and tests to handle nested views