added test cases as updated by Nikhil