fix rake tests