makes bag_test pass