Fixed bug that invalidated all previous tests.