Added tests for Validate Command