add test case for crash when reloading with devtool opened