Add a test suite.

More information in maillist thread:
https://groups.google.com/d/msg/salt-users/JIZoC4wVVag/_yAhZuD_c6sJ