Writing test for active navbar element