TST+BF: Add tests for python actions, including test for smtp.py

Also fix bug when specifying multiple recipients for smtp.py action