Add test case for bug 435