Adding test for response finish issue