Add first mocha tests for grid initialization