Measuring the Mass of a Galaxy: An evaluation of the performance of Bayesian mass estimates using statistical simulation