Code to validate arguments with test data