Add test script for setting addresses