status setting, with tests

This allows for setting the status on a commit travis-style.