Fix bugs in the test