Fixed tests for view changes