fixed some bugs in Neumann test case