Add -a code to npm test command

Closes #5