Fix local_test script