further refinements of View and unit tests