Updated takeaway_test