added more test cases for hide with full change and replacing the center view