Test case for #17.