Changed logic for third test