Tests for ResourceHelper