fix navbar tests