Split large helper function into several smaller ones. Move reloading of
modules and setup tasks to setUp() function. Create run_udica() function
for running udica and recording its output. Create assert_templates()
function for checking generated templates. Create assert_policy()
function for comparing generated policy with a file. Create
assert_ansible() function for checking files generated for ansible.
Split large helper function into several smaller ones. Move reloading of modules and setup tasks to setUp() function. Create run_udica() function for running udica and recording its output. Create assert_templates() function for checking generated templates. Create assert_policy() function for comparing generated policy with a file. Create assert_ansible() function for checking files generated for ansible.