javascript: add the 1st test
sandbox/python: use generators instead of lists