add two tests to check that ug properly handles boundary approximation and refinement to the boundary.