Created test for navBarDirective.