adding generic-test.js