Write tests in comments, just above your JavaScript functions.