write test for issue 435