made twilio tests working after refactoring