Added license test to index.js