Added tests for validation framework