test - simple fix - code should be inside "it" block
exec command - test that format_info_output is actually called in right context
Merge pull request #354 from vsespb/more_tests_for_exec

More tests for exec