[res] Add setup and test scripts.