Improved tests around guards

This is still not perfect.  Will likely need to do integration
tests with serverspec.
Merge pull request #10 from retr0h/retr0h/improve-guard-tests

Improved tests around guards