Fix test the order calling attachNetStream