Hypothesis testing and trial design in network meta-analysis with applications in animal health