Fix extended resource unit test
Merge pull request #213 from shenrie/master

 Fix extended resource unit test