Code coverage improvements
Actual implementation of test logic is using standard "if" clause which is no very good since, in case of error multiple lines are not executed and code coverage gets into red numbers.
The aim of this task is to use "assert" statement where possible for implementation of tests. This would cause (in case of feature tests) loss of generality since "o.outcome" can not be asserted by assert statement! Possible solution for this problem might be rewriting the tests to assume that test will fail by default and that when condition is satisfied, outcome is set to desired value!