Add test case for add & remove view.