Fix order of arguments for assertEquals

Fix order of arguments for assertEquals in testPreConditions method,
because the first argument of assertEquals should be expected value.