Fixed regression test according to the added test.