fix undefined variable
update tests
add test to send_quiet