[Issue #2346] Conditionally compile AFNetworkActivityManagerTests