Fixed a bug in the test case (issue #104)