Inject fake singleton instances into Objective-C code for testing