Implement and test commonjsify transform