Unit test for issue #2
WIP