Add test case for #189.