Test script, commonJS interface