Added test case for second example