finished test case for the issue described in #6