Updated `test` script