added test cases as requested