Incorporating prior knowledge improves detection of differences in bacterial growth rate