added test case for #7188