add exports to the basin.js. the two function has pass a simple test