added get_max_stock it needed in running testcses