testcases added; some typo