First draft on JS testing