Added unit test to theck the status_mail command and see it honours the re match