Add test to demonstrate issue #412