adding test cases on behalf of Amit