Testing general relativity with compact coalescing binaries: Comparing exact and predictive methods to compute the Bayes factor