changed tests to prevent sending text when testing