Add callback specs for carthage_middleware