Added test from Yarden source.