fix spm-test for mocha-browser