update tideline example to pass in bgPrefs in same way as done in blip
rewritten BolusUtil tests, passing everywhere