Adds test case for #197.