1.0.1 candidate

switches should_emit to a boolean, removes an unused reference, adds an npm test command.