Add test case for #17.