Added test case for match as a statement