updated test case fixes #855