[test] test case for fast open&close devtools from #1391