Fix btsync::instance according to unit tests