Making tests for active navbar element pass