Tests for the validate_arguments