Added test for view change