fix commonjs with tests type files