added tests for templating and with_items
added complex bare templated conditional test
Merge pull request #9764 from bcoca/moar_tests

Moar tests