Addded test case for #124