fix test bdd bug