I think that:

http://docs.saltstack.com/ref/states/writing.html#test-state

should be there for testing mode