add tests for view inheritance.