Markov network structure discovery using independence tests