Updated test case to use filename other than index.js for main
Fixed test case
Do not use index.js for main file