tests: atomicity for generated files

This ensure, that every test will generate documentation into own TEMP_DIR, not to common one.
tests: proper assertion
tests: use passthru() for command execution

Tester show stdout in case of test failure. On success is stdout supressed.