added gettest method