wrote new stock level and out tests