Added test for example 3.