(fix) fixes navbar unit test