Added integration tests for GetResource()