updates test cases; related to cortexjs/cortex#231