added testcases
added testcases
fixed typo
removed unused parameters