[dist] make tests pass when using 'npm test'
[bump] version 0.3.1