validation test cases for cloud provider

Added Validation test cases for cloud provider
This is for the test named "test_type_required_validation()"