fix(tests): fix casperjs scenario for the grid