added the new methods and started test case