buyFood test cases, passing