Minor fix in test_bed_prepare.py