add a test from issue 3