Added tests for the validation helper
Added tests for the validation helper