Verification of the shearstress boundary conditions in the undertow problem