NOBUG Fixes failing unit test.