Avoid using IF statements in Unit tests. This is a bad practice