fix owned_stock tests