Add test to index.js and make comments less shout.