Removed unused methods and reply type parameter added.
Reply test case added