Test cleanup

- Fixed few NUNIT failures due to missing math.dll, replaced the call to
use DSCoreNodes.dll which implements Math class
- The validation for few node migration tests have been updated.