making tests for active navbar element pass