[tests] fix os_net unit test