Add mocha devDependency for npm test.
Use outputRelativePath in referring to built file.