refactor multicore into modTest