resourceloader: Improve test cases for DerivativeResourceLoaderContext