Write logic and Modify test case result