Test suite

Added a (failing) test to describe the bug.