Adding dismiss test for nav bar