Change the test not to depend on initial state