test.js can automatically test an id directory