DineroMailObject.php, DineroMailAction.php logic corrections and syntax corrections.

test.php setting up test file.