Fixed a bug in the test setup.