Adding tests for #209.