Add test for cli.js. Closes #6.