added test cases for #2128