Transform string to integer when stubbing team