Make test source module a friend of production source module
Do not throw if function from index cannot be resolved in current module

Valid situation if function is not among module dependencies