bugfix: do approximate comparison to initialValue in testBadPatch()

Equality is not guaranteed due to roundoff errors in spline interpolation.
DM-1374 #close merge fix