test cases added for modal navigationBar.update