Add basoc publish.js in test template