Add failing test for issue #146