Update test-creation.js

added comments, hopefully it's more understandable