fixes test cases; related to cortexjs/cortex-playground#1