add module.exports;
add test cases files for cortex