Tests rebuild for CJS