Fixed unit tests to account for correct readiness-checking.