Refined parser to handle more than 1 case in match statement. Added
another test case for this behaviour.