Fix net tests