Dev Wade

add more test case for policy

fix domain intValue