Added rudimentary test script. Can't try it yet though.