bugfix, new test case.