Move CJS ouput to dist
Move test command into script