Geo server resource loader test

I've added tests NPE and IOE for GeoServerResourceLoader.