fixed small bug with b.test