add unit test for issue related to combination of ui-view, ng-hide and ng-init