Fixed bug in Melb.is_b_d(); and fixed test bug