improve test coverage on navbar helpers
improve test coverage on modal helpers