Testing a JS creation