added tests for check dimension