add cortex test stuffs