Added tests to check for js execution timing out