Implement navigation bar tests and make them pass