Added more tests for the view subgenerator