Figure out good things to test, then write the tests for them. Worth looking at; [foreman_azure](https://github.com/theforeman/foreman_azure) [foreman-one](https://github.com/theforeman/foreman-one) [foreman-xen](https://github.com/theforeman/foreman-xen)