Adapted new test case (fixing bug)