Added 2d test script