XFEM: Added test case for branch functions.