refactored sample unit tests following validation decoupling from exception throwing in core
refactored sample unit tests following validation decoupling from exception throwing in core

neemzy/patchwork,neemzy/patchwork,neemzy/patchwork