Refactoring before introducing fault tree tests.
Initial crude tests for fault tree.