added test case for validation input = empty