engine.getDimension with tests