make test cases for cortex test