added load file test for resources.