Essays On Bayesian Testing And Methods For Longitudinal Data