status setting, with tests
Merge pull request #9 from erikh/status_reporting

status setting, with tests