test view generator