update testing code
index.html