Unit test : viewState first part