Added Test cases

Updated documentation