add the injtest method