updated test sub