script test of view