Added testcase for previous commit.

testcase currently fails due to an other bug.