Complete test cases for task1
Add sample input as json