Added test for matching multiple conditions with one case
Refactoring.
Added test for pattern matching in match expressions
Added test for adding variables to patterns.