Add test script for changing device policy