add `from` and `to` parameters to test script