Unit test for WSResource and WSResourceLoader