Added changing stock level feature and tests