fix  unittest for resource testing
2 files changed