Fix extended resource unit test