add more test cases for policy
fix intValue
Merge pull request #228 from wade1012/dev

Dev Wade